-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix copySparse for empty qcow2 disk #2255
Conversation
cd1c9be
to
b8ae1f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Fixes #1964 |
I would like to write a test for converting disks, but I haven't found a simple way to create a qcow disk from tests. Alternatively, I can embed a small disk and use it in tests. If you agree, I'll write a test |
Thanks, you can just exec qemu-img and call it a day for creating test disks |
192d094
to
a6413eb
Compare
I added test and installation of |
a6413eb
to
8209aed
Compare
@AkihiroSuda can you rerun failed tests? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
8209aed
to
abdcd7e
Compare
abdcd7e
to
fb82f79
Compare
Signed-off-by: Nikita Vasilchenko <n@mintscale.ru>
fb82f79
to
bf6e770
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Hi!
We are trying to migrate a vm for our users from qemu to vz virtualization. In our configuration we use an additional disk.
When the disk is empty and vmType is
vz
limactl hangs atWaiting for the essential requirement 1 of 2: "ssh"
.This happens because neither write nor ftruncate is called for the file. In result after conversion, the file size is 0 bytes and the operating system cannot boot.
Steps to reproduce:
lima config: